package name.jautzy.esi.client.model;

import java.io.Serializable;

public class EsiShipFilter implements Serializable {
	private String groupName = null;
	private String race = null;
	private boolean pvp = false;
	private boolean pve = false;
	private long score = 0;
	private int limit = 0;
	private int offset = 20;
	private int countResult = 0;
	private double dps = 0;
	private double effHp = 0;
	private String user = null;

	public EsiShipFilter() {
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setRace(String race) {
		if (race.equals(EdbRace.all.getName()))
			this.race = null;
		else
			this.race = race;
	}
	public String getRace() {
		return race;
	}
	public void setPvp(boolean pvp) {
		this.pvp = pvp;
	}
	public boolean getPvp() {
		return pvp;
	}
	public void setPve(boolean pve) {
		this.pve = pve;
	}
	public boolean getPve() {
		return pve;
	}
	public void setScore(long score) {
		this.score = score;
	}
	public long getScore() {
		return score;
	}
	public void setLimit(int limit) {
		this.limit = limit;
	}
	public int getLimit() {
		return limit;
	}
	public void setOffset(int offset) {
		this.offset = offset;
	}
	public int getOffset() {
		return offset;
	}
	public void setCountResult(int countResult) {
		this.countResult = countResult;
	}
	public int getCountResult() {
		return countResult;
	}

	public void setDps(double dps) {
		this.dps = dps;
	}

	public double getDps() {
		return dps;
	}

	public void setEffHp(double effHp) {
		this.effHp = effHp;
	}

	public double getEffHp() {
		return effHp;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public String getUser() {
		return user;
	}

}
